Skip to content

Add tr_tname API#368

Merged
brarcher merged 1 commit into
libcheck:masterfrom
eschaton:eschaton/add-tr_tname-API
Jun 27, 2026
Merged

Add tr_tname API#368
brarcher merged 1 commit into
libcheck:masterfrom
eschaton:eschaton/add-tr_tname-API

Conversation

@eschaton

Copy link
Copy Markdown
Contributor

Right now you can only get the test case name from a TestResult, using the tr_tcname() API. This means if you're trying to hook Check's result reporting into some other system, you can only get half the information you need to describe a test's success or failure. Since TestResult tracks the test name too, this can be easily remedied by also exposing a tr_tname() API.

Provide access to a TestResult's tname, not just its tcname.

Includes test.
@eschaton eschaton force-pushed the eschaton/add-tr_tname-API branch from 63010a2 to 37c87ff Compare June 25, 2026 22:33
@brarcher brarcher merged commit 18712be into libcheck:master Jun 27, 2026
13 of 23 checks passed
@brarcher

Copy link
Copy Markdown
Contributor

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants